package parser_antlr4;

import parser_antlr4.aspect.ParserAspect;

import java.lang.reflect.Method;

public class ParserAspectExtraProperties implements ParserAspect {

  @Override
  public boolean enabled() {
    return true;
  }

  @Override
  public void beforeParse(Method method, Object[] args) {
    System.out.println("before parse");
  }

  @Override
  public void afterParse(Method method, Object[] args, Object result) {
    System.out.println("通过connectionId，extraSQL语句解析属性，并赋值到result中");
  }
}
